from login import *
driver = login()
driver.find_element(By.ID, 'com.tal.kaoyan:id/mainactivity_button_mysefl').click()
sleep(3)
driver.find_element(By.ID, 'com.tal.kaoyan:id/tip_commit').click()
driver.find_element(By.ID, 'com.tal.kaoyan:id/activity_usercenter_userheader').click()
driver.find_element(By.ID, 'com.tal.kaoyan:id/activity_myinfo_header_relativelayout').click()
ele = driver.find_element(By.CLASS_NAME, 'android.widget.GridView')
ele.find_elements(By.CLASS_NAME, 'android.widget.ImageView')[1].click()
driver.find_element(By.ID, 'com.tal.kaoyan:id/save').click()
sleep(3)
driver.quit()